package com.vehicle_demo.common;

import org.springframework.stereotype.Component;

/**
 * @Author: lxh
 * @name: ResponseStatus
 * Date: 2024/6/20  14:52
 */

public enum ResponseStatus {
    SUCCESS("操作成功"),
    FAILURE("操作失败"),
    INVALID_ID("无效的ID");
    private final String message;

    ResponseStatus(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}